<!--<div id="main-banner"><img src="<?php echo base_url(); ?>images/accomodation_main.jpg" height="320" width="595"></div>-->
    <div id="breadcrumbs"><?php echo $breadcrumb; ?></div>
    <!--<div class="left" id="search_box"><span class="select-beach">Refine Search</span>
      <select class="select-beach" size="1" name="D1">
		<option selected="selected">Beach Selection</option>
		<option>Boutique Hotels</option>
		<option>Beach Villas</option>
		</select>
        <select class="sort-accom" size="1" name="D1">
		<option>Sort by Accommodation Name</option>
		</select></div>-->

<div>
    <?php 
        //print_r($offerdetailarray);
        //$fac_cls = "";
        foreach ($offerdetailarray as $offer_arr) :?>
  <div id="accom_thumb">
      <p><img src="<?php echo base_url(); ?>images/uploads/thumb/thumb_<?php echo $offer_arr['image']; ?>" class="acco_thumb_img" height="80" width="100"></p>
     <!--<p>Price : $650<br>
       (per night)</p>-->
   </div>
   <div id="accom_detail_box">
     <p><strong><?php echo $offer_arr['title']; ?></strong></p>
     <p><?php echo strlen($offer_arr['desc'])>150?substr($offer_arr['desc'], 0, 150)."...":$offer_arr['desc']; ?></p>
     <p>Offer ends on: <?php echo $offer_arr['offer_end']; ?></p>
     <div class="clear"></div>     
     <p><a href="<?php echo base_url(); ?>hotel/hotel_details/hotel_id/<?php echo $offer_arr['hotel_id']; ?>/offer"><img src="<?php echo base_url(); ?>images/readmore.jpg" height="27" width="78"></a></p>
   </div>
    <div class="clear"></div>
    <?php endforeach; ?>
</div>
    <div id="pagecontroller"><?php echo $pagination;?></div>
<div class="clear"></div>